package com.xinghanlaser.applet.base.auth.security.config;

import com.xinghanlaser.applet.base.auth.security.component.ClientCredentials;
import lombok.Data;
import lombok.ToString;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * @author dym
 * @date 2019-09-23 19:34
 */
@ConfigurationProperties("applet.oauth2")
@Component
@ToString
@Data
@Slf4j
public class ClientCredentialsConfig {
    private List<ClientCredentials> clients = new ArrayList<>();
}
